<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- React 底层核心库 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/react/18.2.0/umd/react.development.js"></script>
    <!-- React 操作 Dom 库，类似 JQuery -->
    <script src="https://cdn.bootcdn.net/ajax/libs/react-dom/18.2.0/umd/react-dom.development.min.js"></script>
    <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
    <title>Document</title>
</head>

<body>
    <div id="root"></div>
    <script type="text/babel">
        class App extends React.Component {

            state = {
                message: 'Hello Message'
            }

            render() {
                return <div>
                    Hello World
                </div>
            }
        }

        ReactDOM.createRoot(document.querySelector('#root')).render(<App />)
    </script>
</body>

</html>